﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunShop_WebAPI.Model
{
    public class VdianItemInfoGetResp
    {
        /// <summary>
        /// 
        /// </summary>
        public Status status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Result result { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int aeskey_version { get; set; }


        public class Status
        {
            /// <summary>
            /// 
            /// </summary>
            public int status_code { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string status_reason { get; set; }
        }

        public class Result
        {
            /// <summary>
            /// 
            /// </summary>
            public string barcode { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> cates { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int free_delivery { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string fx_fee_rate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string h5Url { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> imgs { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int istop { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string itemComment { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<ItemDeliveryDTOs> itemDeliveryDTOs { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public ItemTemplateInfo itemTemplateInfo { get; set; }
            /// <summary>
            /// 生意兴荣
            /// </summary>
            public string item_desc { get; set; }
            /// <summary>
            /// 生意兴荣
            /// </summary>
            public string item_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string item_simple_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string itemid { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string merchant_code { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string price { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public PurchaseLimitArea purchaseLimitArea { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int remote_free_delivery { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string seller_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int sold { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string status { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int stock { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public bool tempAttr { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> thumb_imgs { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> titles { get; set; }

            public class ItemDeliveryDTOs
            {
                /// <summary>
                /// 
                /// </summary>
                public int deliveryId { get; set; }
                /// <summary>
                /// 快递发货
                /// </summary>
                public string deliveryName { get; set; }
            }

            public class ItemTemplateInfo
            {
                /// <summary>
                /// 默认运费:10件内0元, 每增加1件, 增加运费0元
                /// </summary>
                public string freight_info { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public int template_id { get; set; }
                /// <summary>
                /// 默认运费模版
                /// </summary>
                public string template_name { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public string template_url { get; set; }
            }

            public class PurchaseLimitArea
            {
                /// <summary>
                /// 
                /// </summary>
                public int templateId { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public string templateName { get; set; }
            }


        }

    }
}
